package com.im.service.user.dao;

import com.im.service.dto.*;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IStaffQueryDAO {

	public Staff queryStaff(Map<String, Object> param);
	
	public List<Staff2Role> queryStaff2RoleByCond(Map<String, Object> param);
	
	public List<Role2FuncMenu> queryRole2FuncMenuByCond(Map<String, Object> param);

	public List<FuncMenu> queryStaffFuncMenus(Map<String,Object>param);

	public List<Staff> queryStaffsByCond(Map<String, Object> param);

	public List<Role> queryConfigRolesByCond(Map<String, Object> param);

	public List<StaffLimitType> queryConfigStaffLimitType(Map<String, Object> param);

	public List<StaffLimitRange> queryLimitInstByConn(Map<String, Object> param);

	public List<Orgarization> queryOrgarizationsByCond(Map<String,Object> param);

	public List<EasyUiTreeDto> queryOrgTreeByCond(Map<String,Object> param);

	public List<EasyUiTreeDto> queryOrgTypeByCond(Map<String,Object> param);

	public List<FuncMenu> queryFuncMenusByCond(Map<String,Object> param);

}
